<extend name="Public:common" />
<block name="content">



    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i>
            <a href="__MODULE__/Index/index">首页</a>
            <span class="crumb-step">&gt;</span>
            <a class="crumb-name" href="__MODULE__/Rbac/jurisdiction">管理权限列表</a>
            <span class="crumb-step">&gt;</span>
            <span>新增权限节点</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="__MODULE__/Rbac/jurisdictionadd" method="post" id="login" name="login" onsubmit="return Validator.ValidateForm(this,3);">
                   <input type='hidden' name='action' value='add' />
                    <table class="insert-tab" width="1125">
                        <tbody>
                        <tr>
                            <th width="120"><i class="require-red">*</i>权限中文名：</th>
          					<td>
                               <input class="common-text input" type='text' id='remark' dataType="Custom"  name='title' size='30' regexp="^[\u4E00-\u9FA5]{1,10}$"  msg="（中文不能超过10个汉字)" onBlur="Validator.Validate(this)"/>
                               <span id='remarkWarning'>(中文权限名)</span>
                            </td> 
             			</tr>
<!--                         <tr>
                            <th width="120"><i class="require-red">*</i>权限英文名：</th>
          					<td>
                               <input class="common-text input" type='text' id='title' dataType="Custom"  name='title' size='30' regexp="^\w{2,25}$"  msg="（输入字母、数字或下划线（2-25位），必须以字母开头）" onBlur="Validator.Validate(this)"/>
                               <span id='titleWarning'></span>
                            </td> 
             			</tr> -->
                        <tr>
                            <th width="120"><i class="require-red">*</i>操作名：</th>
          					<td>
                               <input class="common-text input" type='text' id='name' dataType="Custom"  name='name' size='30' regexp="^\w{2,25}$"  msg="（输入字母、数字或下划线（2-25位），必须以字母开头）" onBlur="Validator.Validate(this)"/>
                               <span id='nameWarning'></span>
                            </td> 
             			</tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>级别：</th>
          					<td>
                               <select name='level'>
	                               <option value='1'>项目</option>
	                               <option value='2'>控制器</option>
	                               <option value='3'> 操作 </option>
                               </select>
                            </td> 
             			</tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>父级：</th>
          					<td>
                               <select name='pid'>
	                               <option value='0'>|-- 父节点</option>
	                               <volist name='nlist' id='vo'>
	                               <option value='<{$vo.id}>'><{$vo.nbsp}>|--<{$vo.title}></option>
	                               </volist>
                               </select>
                            </td> 
             			</tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>状态：</th>
          					<td>
                               <input type='radio' name='status' value='1' checked /> 开启&nbsp;&nbsp; 
                               <input type='radio' name='status' value='0' /> 关闭
                            </td> 
             			</tr>
           				<tr>
           				<td></td>
                              <td>
                                  <input class="btn btn-primary btn6 mr10" value="添加节点" type="submit">
                                  <input class="btn btn6" onclick="location.href='__MODULE__/Rbac/jurisdiction' " value="返回" type="button">
                              </td>
                          </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->

</block>